import request from '@/utils/request'

// 获取订单列表
export const getMemberActiveList = (data) => {
  return request({
    url: '/memberActive/list',
    method: 'get',
    params:data
  })
}



// 获取订单详情
export const getOrderDetail = (data) => {
  return request({
    url: '/order/orderInfo',
    method: 'get',
    params:data
  })
}




// 订单处理
export const sendOutmember = (data) => {
  return request({
    url: '/memberActive/sendOut',
    method: 'put',
    data:data
  })
}

// 发货处理
export const sendOut = (data) => {
  return request({
    url: '/order/sendOut',
    method: 'put',
    data:data
  })
}

// 订单修改地址
export const editAddressInfo = (data) => {
  return request({
    url: '/memberActive/editAddressInfo',
    method: 'put',
    data:data
  })
}

// 导出
export const memberActiveExport = (data) => {
  return request({
    url: '/memberActive/export',
    method: 'get',
    params:data
  })
}
